package com.github.cbyzzy.common;

import lombok.Data;


public enum DeviceTypeEnum {

    DEVICE_TYPE_CAM(1,"摄像头"),
    DEVICE_TYPE_DOOR(2,"门禁"),
    DEVICE_TYPE_LAN(3,"电子围栏"),
    CAMERA_TYPE_CAM(0,"设备表-摄像头"),
    CAMERA_TYPE_NVR(1,"设备表-NVR"),
    CAMERA_TYPE_DOOR(2,"设备表-门禁"),
    ;

    private Integer code;

    private String msg;

    DeviceTypeEnum(Integer code,String msg){
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
